<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用户登录</title>
<link href="images/login.css" rel="stylesheet" type="text/css" />
</head>
<body>

    <div id="login">
	
	     <div id="top">
		      <div id="top_left"><img src="images/login_03.gif" /></div>
			  <div id="top_center"></div>
		 </div>
		 
		 <div id="center">
		      <div id="center_left"></div>
			  <div id="center_middle">
			  
			  <form action="login.action" method="post">
			
			       <div id="user">用 户
			         <input type="text" name="user.sno" id="inp"/>
			       </div>
				   <div id="password">密   码
				     <input type="password" name="user.upassword" id="inp"/>
				   </div>
				   <div id="btn"><input type="submit" value="登陆"/> <input type="reset" value="清空"/></div>
			  </form>
			  </div>
			  <div id="center_right"> </div>		 
		 </div>
		 <div id="down">
		      <div id="down_left">
			      <div id="inf">
                       <span class="inf_text">版本信息</span>
					   <span class="copyright">学生选课系统 2012 v1.0</span>
			      </div>
			  </div>
			  <div id="down_center"><center>
			  <s:property value="fieldErrors.get('user.uno').get(0)"/>
			  <s:property value="fieldErrors.get('user.upassword').get(0)"/>
			  <s:actionerror/></center></div>		 
		 </div>

	</div>
</body>
</html>
